package com.qidi.service;

import com.qidi.pojo.Book;
import com.qidi.pojo.Page;

import java.util.List;

/**
 * @author zhouXinBin
 * @create 2020-09-02-16:49
 */
public interface BookService {
    public Book queryBookById(Integer id);
    public List<Book> queryAllBook();
    public void addBook(Book book);
    public void deleteBookById(Integer id);
    public void updateBook(Book book);

    public Page<Book> page(Integer pageNo, Integer pageSize);

    public Page<Book> pagePrice(Integer pageNo, Integer pageSize, int min, int max);
}
